<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>项目明细</title>
  </head>

  <body>
        <!-- page content -->

        <div class="row tile_count" style="margin-bottom: 0px;">
          <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
            <span class="count_top"><i class="fa fa-comments"></i>询价总数</span>
            <div class="count">${allEnquiry!0}</div>
            <!--<span class="count_bottom"><i class="green">4% </i>进行中的询价</span>-->
          </div>
          <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
            <span class="count_top"><i class="fa fa-clock-o"></i>进行中的询价</span>
            <div class="count">${enquiryingNums!0}</div>
            <!--<span class="count_bottom"><i class="green"><i class="fa fa-sort-asc"></i>3% </i> From last Week</span>-->
          </div>
          <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
            <span class="count_top"><i class="fa fa-user"></i>询价采购商</span>
            <div class="count green">${enquiryPurNums!0}</div>
            <!--<span class="count_bottom"><i class="green"><i class="fa fa-sort-asc"></i>34% </i> From last Week</span>-->
          </div>
          <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
            <span class="count_top"><i class="fa fa-list-ol"></i>报价总数</span>
            <div class="count">${allQuote!0}</div>
            <!--<span class="count_bottom"><i class="red"><i class="fa fa-sort-desc"></i>12% </i> From last Week</span>-->
          </div>
          <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
            <span class="count_top"><i class="fa fa-user"></i>报价供应商</span>
            <div class="count">${quoteProNums!0}</div>
            <!--<span class="count_bottom"><i class="green"><i class="fa fa-sort-asc"></i>34% </i> From last Week</span>-->
          </div>
          <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
            <span class="count_top"><i class="fa fa-check-square"></i>采纳的报价</span>
            <div class="count">${acceptQuoteNums!0}</div>
            <!--<span class="count_bottom"><i class="green"><i class="fa fa-sort-asc"></i>34% </i> From last Week</span>-->
          </div>
        </div>


        <div class="row">
          <div class="col-md-6 col-sm-6 col-xs-12">
            <div class="x_panel">
              <div class="x_title">
                <h2>报价询价数量</h2>
                <div style="overflow: hidden;display: inline-block;float: right;">
                  <ul class="nav navbar-right panel_toolbox" style="margin-left: 15px;">
                    <li><a class="collapse-link" onclick="changeDisplay('projectsChart' , 'projectsTable');"><i
                            class="fa fa-line-chart"></i></a></li>
                    <li><a class="collapse-link" onclick="changeDisplay('projectsTable' , 'projectsChart');"><i
                            class="fa fa-table"></i></a></li>
                    <li><a class="collapse-link" onclick="exportProjectDatas();"><i class="fa fa-download"></i></a></li>
                  </ul>
                  <div class="controls input-append date form_date projects" data-date="" data-date-format="dd MM"
                       data-link-field="searchStart" data-link-format="yyyy-mm" style="margin-right: 3px;">
                    <span class="add-on"><i class="icon-th"></i></span>
                    <input id="searchStartHM" size="16" type="text" value="" readonly>
                  </div>
                  —
                  <input type="hidden" id="searchStart" value=""/>
                  <div class="controls input-append date form_date projects" data-date="" data-date-format="dd MM"
                       data-link-field="searchEnd" data-link-format="yyyy-mm">
                    <span class="add-on"><i class="icon-th"></i></span>
                    <input id="searchEndHM" size="16" type="text" value="" readonly>
                  </div>
                  <input type="hidden" id="searchEnd" value=""/>
                </div>
                <div class="clearfix"></div>
              </div>
              <div class="x_content" style="height: 380px;">
                <div id="projectsChart">
                  <canvas id="projectsCt"></canvas>
                </div>
                <div class="hidChart" id="projectsTable">
                  <table id="projectsTb" class="table table-striped table-bordered" style="width: 100%;">
                    <thead>
                    <tr>
                      <th>序号</th>
                      <th>月份</th>
                      <th>询价数量</th>
                      <th>报价数量</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
          </div>

          <div class="col-md-6 col-sm-6 col-xs-12">
            <div class="x_panel">
              <div class="x_title">
                <h2>报价被采纳数量</h2>
                <div style="overflow: hidden;display: inline-block;float: right;">
                  <ul class="nav navbar-right panel_toolbox" style="margin-left: 15px;">
                    <li><a class="collapse-link" onclick="changeDisplay('acceptChart' , 'acceptTable');"><i
                            class="fa fa-line-chart"></i></a></li>
                    <li><a class="collapse-link" onclick="changeDisplay('acceptTable' , 'acceptChart');"><i
                            class="fa fa-table"></i></a></li>
                    <li><a class="collapse-link" onclick="exportAcceptDatas();"><i class="fa fa-download"></i></a></li>
                  </ul>
                  <div class="controls input-append date form_date accept" data-date="" data-date-format="dd MM"
                       data-link-field="acceptStart" data-link-format="yyyy-mm" style="margin-right: 3px;">
                    <span class="add-on"><i class="icon-th"></i></span>
                    <input id="acceptStartHM" size="16" type="text" value="" readonly>
                  </div>
                  —
                  <input type="hidden" id="acceptStart" value=""/>
                  <div class="controls input-append date form_date accept" data-date="" data-date-format="dd MM"
                       data-link-field="acceptEnd" data-link-format="yyyy-mm">
                    <span class="add-on"><i class="icon-th"></i></span>
                    <input id="acceptEndHM" size="16" type="text" value="" readonly>
                  </div>
                  <input type="hidden" id="acceptEnd" value=""/>
                </div>
                <div class="clearfix"></div>
              </div>
              <div class="x_content" style="height: 380px;">
                <div id="acceptChart">
                  <canvas id ="acceptCt"></canvas>
                </div>
                <div class="hidChart" id="acceptTable">
                  <table id="acceptTb" class="table table-striped table-bordered" style="width: 100%;">
                    <thead>
                    <tr>
                      <th>序号</th>
                      <th>时间</th>
                      <th>被采纳数量</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
          </div>
        </div>

        <div class="row">
          <div class="col-md-4 col-sm-6 col-xs-12">
            <div class="x_panel">
              <div class="x_title">
                <h2>发布询价单排名前十的采购商</h2>
                <a class="more" href="#/project/detail" onclick="pjaxContent('/project/detail?type=3')">more >></a>
                <div class="clearfix"></div>
              </div>
              <div class="x_content">
                <table id="enquiryTable" class="table table-striped table-bordered">
                  <thead>
                  <tr>
                    <th>采购商</th>
                    <th style="min-width: 55px;">发布数量</th>
                  </tr>
                  </thead>
                  <tbody>
                  </tbody>
                </table>
              </div>
            </div>
          </div>

          <div class="col-md-4 col-sm-6 col-xs-12">
            <div class="x_panel">
              <div class="x_title">
                <h2>发布报价单排名前十的供应商</h2>
                <a class="more" href="#/project/detail" onclick="pjaxContent('/project/detail?type=4')">more >></a>
                <div class="clearfix"></div>
              </div>
              <div class="x_content">
                <table id="publisQuoteTable" class="table table-striped table-bordered">
                  <thead>
                  <tr>
                    <th>供应商</th>
                    <th style="min-width: 55px;">发布数量</th>
                  </tr>
                  </thead>
                  <tbody>
                  </tbody>
                </table>
              </div>
            </div>
          </div>

          <div class="col-md-4 col-sm-6 col-xs-12">
            <div class="x_panel">
              <div class="x_title">
                <h2>各品类询价次数占比</h2>
                <div class="clearfix"></div>
              </div>
              <div class="x_content">
                <div id="categoryQuotePie" style="height: 400px;"></div>
              </div>
            </div>
          </div>

          </div>

        <!-- /page content -->

        <!-- Custom Theme Scripts -->

        <script type="text/javascript" src="/res/build/js/project/overview.js"></script>
        <script type="text/javascript" src="/res/build/js/common/common.js"></script>
  </body>
</html>
